#include "../../Headers/Classes/client.h"

Client::Client()
{
    setId(0);
    setFirstName("");
    setLastName("");
    setDocument("");
    setPhone("");
}

Client::Client(int id, QString firstName, QString lastName, QString document, QString phone)
{
    setId(id);
    setFirstName(firstName);
    setLastName(lastName);
    setDocument(document);
    setPhone(phone);
}

void Client::setId(int id)
{
    this->id = id;
}

void Client::setFirstName(QString firstName)
{
    this->firstName = firstName;
}

void Client::setLastName(QString lastName)
{
    this->lastName = lastName;
}

void Client::setDocument(QString document)
{
    this->document = document;
}

void Client::setPhone(QString phone)
{
    this->phone = phone;
}

int Client::getId()
{
    return id;
}

QString Client::getFirstName()
{
    return firstName;
}

QString Client::getLastName()
{
    return lastName;
}

QString Client::getDocument()
{
    return document;
}

QString Client::getPhone()
{
    return phone;
}
